package com.lxj.student_security.service;

import com.lxj.student_security.common.CommonResult;
import com.lxj.student_security.entity.Group;
import com.lxj.student_security.entity.RemoveRecord;

public interface GroupService {
    CommonResult findAll(Group group);

    CommonResult delete(Integer[] id);

    CommonResult add(Group group);

    CommonResult findById(Integer id);

    CommonResult edit(Group group);

    CommonResult findStudent(Integer id);

    CommonResult findByGroupId(Integer id);

    CommonResult addMember(Integer[] ids, Integer id);

    CommonResult deleteMember(Integer id, Integer[] ids);

    CommonResult selectMember(Integer id);

    CommonResult findAllRemoveRecord(RemoveRecord removeRecord);

    CommonResult deleteRecord(Integer[] id);

    CommonResult findByUsername(String username);

}
